home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / CarbonizedMenus / headers / FontInfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-06-25  |  854 b   |  42 lines  |  [TEXT/CWIE]

  1. /****************************************************************************************
  2.     FontInfo.h
  3.     
  4.     Copyright © 1999 Red Shed Software. All rights reserved.
  5.     by Jonathan 'Wolf' Rentzsch (jon@redshed.net)
  6.     
  7.     Commenter    Date                Comment
  8.     ---------    -----------------    -----------------------------------------------------
  9.     wolf        Thu, Jun 24, 1999    Created.
  10.     
  11.     ************************************************************************************/
  12.  
  13. #ifndef        _FontInfo_
  14. #define        _FontInfo_
  15.  
  16. #include    "begin_extern_c.h"
  17.  
  18.     extern
  19.     UInt16
  20. GetMaxFontHeight(
  21.     ConstStr255Param    fontName,
  22.     short                size,
  23.     StyleParameter        face );
  24.  
  25.     extern
  26.     UInt16
  27. GetMaxFontWidth(
  28.     ConstStr255Param    fontName,
  29.     short                size,
  30.     StyleParameter        face );
  31.  
  32.     extern
  33.     UInt16
  34. GetCachedMaxFontHeight();
  35.  
  36.     extern
  37.     UInt16
  38. GetCachedMaxFontWidth();
  39.  
  40. #include    "end_extern_c.h"
  41.  
  42. #endif    //    _FontInfo_